package com.example.music_player_app.api.service.playList;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

// 获取推荐歌单，limit限制获取的数量，默认为6
public interface PersonalizedService {
    @GET("/personalized")
    Call<ResponseBody> get(@Header("Cookie") String cookie, @Query("limit") int limit);

    @POST("/personalized")
    Call<ResponseBody> post(@Header("Cookie") String cookie, @Query("limit") int limit);
}
